#include <iostream>
#include "ListQueue.h"

using namespace std;
int main() {

	ListQueue<int> test;
	test.push(10);
	test.push(20);
	test.push(30);
	test.push(40);
	test.pop();
	cout << test.front() << endl;
	cout << test.back() << endl;
	test.pop();
	cout << test.front() << endl;
	test.pop();
	cout << test.front() << endl;
	test.pop();
	cout << test.empty() << endl;
	system("pause");
	return 0;

}